/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package eu.bopet.jocadv.core;

/**
 * The class represents differentiable geometric constraints
 *
 * @author bocskapeter
 */
public interface Differentiable {

    /**
     * Gives the value of the equation at the given point (variables)
     * 
     * @param variables point
     * @return double value
     */
    public double getVaue(double[] variables);

    /**
     * Gives the values of the partial derivative at the given point (variables)
     * 
     * @param variables point
     * @return array of double values
     */
    public double[][] getDerivatives(double[] variables);

}
